﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ClientAppViaWebService.BaseLogicServiceRef;

namespace ClientAppViaWebService.DBAdministration
{
    public partial class ProcessesAdministartionForm : Form
    {
        public string SelectedDataBase;
        private BaseLogicService service = new BaseLogicService();

        public ProcessesAdministartionForm()
        {
            InitializeComponent();
            cmbDatabases.DataSource = service.SelectAvailableDataBases();
        }

        private void cmbDatabases_SelectedIndexChanged(object sender, EventArgs e)
        {
            SelectedDataBase = cmbDatabases.SelectedValue.ToString();
        }

        private void RuleInsertAdministartionForm_Load(object sender, EventArgs e)
        {
            // dtgRuleInsert.DataSource = service
        }
    

        private void dtgProcesses_RowsRemoved(object sender, DataGridViewRowsRemovedEventArgs e)
        {

        }

        private void dtgProcesses_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)
        {

        }
    }
}
